package com.huanxin;

import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;

@EnableConfigurationProperties({
        HuanxinProperties.class
})
public class HuanxinAutoConfiguration {

    @Bean
    public HuanxinTemplate huanxinTemplate(HuanxinProperties properties){
        return new HuanxinTemplate(properties);
    }

}
